package com.groot.medical.dao;

import java.util.List;

import com.groot.medical.entity.ChronicExpense;

public interface ChronicExamineDAO {
	/**
	 * 查询审核汇款信息记录条数
	 * @param name
	 * @param startTime
	 * @param endTime
	 * @param areacode
	 * @param ispass
	 * @param isremittance
	 * @return
	 */
	int getCounts(String name, String startTime,String endTime, String areacode, String ispass, String isremittance);
	/**
	 * 分页模糊查询审核汇款
	 * @param startIndex
	 * @param pageSize
	 * @param name
	 * @param startTime
	 * @param endTime
	 * @param areacode
	 * @param ispass
	 * @param isremittance
	 * @return
	 */
	List<ChronicExpense> findChronicExamineByPage(int startIndex, int pageSize, String name, String startTime, String endTime,
			String areacode,String ispass, String isremittance);
	
	int getCountsforStatistics(String name, String startTime, String endTime, String areacode, String illCode);
	
	List<ChronicExpense> statisticsChronicExpense(int startIndex, int pageSize, String name, String startTime, String endTime,
			String areacode, String illCode);
	List<ChronicExpense> findByCondition(String name, String stratTime, String endTime, String areacode,String illCode);

}
